<?php 

Header ("Content-type: text/css");

$bg_main    = '#f0d6c0';
$bg_lighter = '#ffe6d0';
$bg_darker  = '#c0a090';

$fg_main    = '#703000';
$fg_lighter = '#905010';
$fg_darker  = '#401000';

$fg_input     = '#000070';
$bg_input     = '#e0eaff';
$border_input = '#000070';

$bg_topmenu        = '#d0c0a0';
$bg_topmenu_active = '#e0d0b0';

$fg_button     = '#fada70';
$bg_button     = '#904010';
$border_button = '#400000';

$fg_hilite1    = '#a03010';
$fg_hilite2    = '#1020a0';
$fg_hilite3    = '#108010';

$fg_info       = '#900000';
$bg_info       = '#f0d0d0';

$fg_error      = '#b00000';
?>
body {
  background-color: <? echo $bg_main ?>;
  color: <? echo $fg_main ?>;
  font-family: Arial;
  font-size: 10pt;
  margin: 0px;
}

h1 {
  font-size: 16pt;
  font-weight: bold;
  color: <? echo $fg_darker ?>
}

h2 {
  font-size: 14pt;
  font-weight: bold;
  color: <? echo $fg_darker ?>
}

h3 {
  font-size: 12pt;
  font-weight: bold;
  color: <? echo $fg_darker ?>
}


a {
  text-decoration: none;
}

input.text, textarea, select {
    background-color: <? echo $bg_input ?>;
    color: <? echo $fg_input ?>;
    border: 1px solid <? echo $border_input ?>;
}

button.padm_button {
    background-color: <? echo $bg_button ?>;
    color: <? echo $fg_button ?>;
    border: 2px outset <? echo $border_button?>;
}

input.checkbox {
    background-color: <? echo $bg_input ?>;
    border: 1px solid <? echo $border_input ?>;
}

/* detailed branding */
div.padm_topmenu {
    background-color: <? echo $bg_topmenu ?>;
    border: none;
    width: 100%;
    margin-left: 0px;
    float: none;
    text-align: left;
    margin: auto;
    text-align: center;
}


div.padm_topmenu a.active:link, div.padm_topmenu a.active:visited {
    color: #a04020;
    font-size: 12pt;
    padding: 0px;
}

div.padm_topmenu a.passive:link, div.padm_topmenu a.passive:visited {
    color: black;
    font-size: 12pt;
    padding: 0px;
}

div.padm_topmenu  a.active:hover, div.padm_topmenu a.passive:hover {
    color: white;
    font-size: 12pt;
    padding: 0px;
}

div.padm_topmenu .item {
   background-color: <? echo $bg_topmenu ?>;
    padding-left:  10px;
    padding-right: 10px;
    font-size: 12pt;
}


div.padm_topmenu .item_active {
   background-color: <? echo $bg_topmenu_active ?>;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12pt;
}

div.padm_submenu {
    background-color: <? echo $bg_topmenu ?>;
    border: none;
    width: 100%;
    margin-left: 0px;
    float: none;
    text-align: left;
    margin: auto;
    text-align: center;
}

div.padm_submenu .item {
    padding-left: 10px;
    padding-right: 10px;
}

div.padm_submenu a:link, div.padm_submenu a:visited {
    color: black;
    text-decoration: none;
}

div.padm_submenu a:hover {
    color: white;
    text-decoration: none;
}


div.padm_body {
   text-align: center;
}

div.padm_caption {
  font-size: 20px;
  padding-left: 10px;
  color: <? echo $fg_darker ?>;
  background-color: <? echo $bg_darker ?>;
  margin: 0px;
}

div.padm_infostatus {
  color: <? echo $fg_info ?>;
  background-color: <? echo $bg_info ?>;
  font-size: 12pt;
  font-family: 'courier';
  font-weight: bold;
  border: 1px solid  <? echo $fg_info ?>;
  width: 75%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 6px;
  margin-bottom: 6px;
}

div.padm_info {
  color: <? echo $fg_info ?>;
  font-size: 12pt;
  font-family: 'courier';
  font-weight: bold;
  margin-right: auto;
  margin-left: auto;
  margin-top: 6px;
  margin-bottom: 6px;
}


div.padm_main {
    margin: auto;
}


/* the login page */
div.padm_login {
    text-align: center;
    margin: 5px auto auto auto;
}

div.padm_login_caption {
    font-size: 14pt;
    font-weight: bold;
    background-color: <? echo $bg_darker ?>;
}

div.padm_login_box {
    width: 360px;
    background-color: <? echo $bg_lighter ?>;
    border: 1px solid <? echo $fg_lighter ?>;
    margin: auto;
}

div.padm_login_uname_row, div.padm_login_pwd_row, div.padm_login_button_row {
    padding: 4px;
}

div.padm_login_uname_label, div.padm_login_pwd_label {
    text-align: right;
    padding-right: 5px;
    float: left;
    width: 120px;
}


div.padm_login_uname_value, div.padm_login_pwd_value {
    text-align: left;
    padding-right: 5px;
}

/* logout box  ---------------------------------------- */
div.padm_logout {
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 8pt;
}

span.padm_logout_info {}
span.padm_logout_link {}
a.padm_logout_a {}

/* chat administration --------------------------------- */
table.padm_chat_msglist {
    margin: auto;
    background-color: <? echo $bg_lighter ?>;
    border: 1px solid <? echo $fg_lighter ?>;
    text-align: left;
}

td.padm_chat_msg_id {
  color: <? echo $fg_hilite1 ?>
}

td.padm_chat_msg_sn {
  color: <? echo $fg_hilite2 ?>
}

td.padm_chat_msg_time {
  color: <? echo $fg_hilite3 ?>
}

/* account administration ------------------------------ */

table.padm_acc_searchresults {
  width: 80%;
  margin: auto;
}

tr.padm_acc_acc {
}

tr.padm_acc_accinfocap {
    background-color: <? echo $bg_lighter ?>;
    font-size: 12pt;
    font-weight: bold;
}

tr.padm_acc_accinfocap {
    background-color: <? echo $bg_lighter ?>;
    font-size: 12pt;
}

td.padm_acc_acc_uid {
  color: <? echo $fg_hilite1 ?>;
}

td.padm_acc_acc_screenname {
  color: <? echo $fg_hilite2 ?>;
}

tr.padm_acc_acc_labels {
    background-color: <? echo $bg_lighter ?>;
    color: <? echo $fg_darker ?>;
    font-weight: bold;
}

tr.padm_acc_acc_label {
}

table.padm_acc_edit {
  margin: auto;
  padding: 10px;
}

td.padm_acc_edit_label {
    text-align: right;
    font-weight: bold;
    padding-right: 10px;
}

td.padm_acc_edit_val {
    text-align: left;
}

/* setting editor ---------------------------------------- */
table.padm_sett_edit {
    width: 300pt;
    margin: 5px auto auto auto;
}

td.padm_sett_edit_desc {
    background-color: <? echo $bg_lighter ?>;
    text-align: center;
}

td.padm_sett_edit_label {
    text-align: right;
    font-weight: bold;
    padding-right: 10px;
    width: 30%;
}

td.padm_sett_edit_val {
    text-align: left;
}

td.padm_sett_edit_buttons {
    padding: 5px;
    text-align: center;
}

/* forum administration ---------------------------------------- */
div.padm_forum {
    width: 100%;
    text-align: left;
    padding: 5px;
}

div.padm_forum_buttons {
    width: 100%;
    text-align: left;
    padding-left: 20px;
}

div.padm_forum_thread {
    margin: auto;
    padding-bottom: 5px;
}

div.padm_forum_msg {
  width: 80%;
}

div.padm_forum_msg_children {
    padding-left: 20px;
}

span.padm_forum_msg_subject {
    font-weight: bold;
    font-size: 10pt;
}

span.padm_forum_msg_screen_name {
    padding-left: 5px;
    font-size: 8pt;
    color: <? echo $fg_hilite1 ?>;
}

span.padm_forum_msg_date {
    padding-left: 5px;
    font-size: 8pt;
    color: <? echo $fg_hilite2 ?>;
}


/* linkroll administration ----------------------------------------*/
table#padm_linkroll_links_approved {
    margin: auto;
}

table#padm_linkroll_links_waiting {
    margin: auto;
}

table#padm_linkroll_edit_form {
    margin: auto;
}

#padm_linkroll_edit_form .label {
    text-align: right;
}

#padm_linkroll_edit_form .value {
    text-align: left;
    color: red;
}

table#padm_linkroll_cat_list {
    margin: auto;
}

#padm_linkroll_cat_list td {
    text-align: left;
}

table#padm_linkroll_cat_form {
    margin: auto;
}

#padm_linkroll_cat_form .label {
    text-align: right;
}

#padm_linkroll_cat_form .value {
    text-align: left;
}

/* IP block administration ----------------------------------------*/
div#padm_ipb {
  margin: auto;
}

div#padm_ipb div.error {
  font-weight: bold;
  color: <? echo $fg_error ?>;
}

table#padm_ipb_edit_table {
    margin: auto;
}

table#padm_ipb_edit_table td.label {
  text-align: right;
}

table#padm_ipb_edit_table td.value {
  text-align: left;
}

table#padm_ipb_edit_table td.mark {
  width: 10px;
  font-weight: bold;
  color: <? echo $fg_error ?>;
}

table#padm_ipb_edit_table td.error {
  width: 10px;
  font-weight: bold;
  color: <? echo $fg_error ?>;
}

table#padm_ipb_list {
  margin: auto;
  background-color: <? echo $bg_lighter ?>;
  border: 1px solid <? echo $fg_lighter ?>;

}

/* Quote administration ---------------------------------------- */
div#padm_quotes {
  margin: auto;
}

div#padm_quotes div.error {
  font-weight: bold;
  color: <? echo $fg_error ?>;
}


table#padm_quote_list {
  margin: auto;
}

table#padm_quote_edit_table {
  margin: auto;
}

table#padm_quote_edit_table td.label {
  text-align: right;
}

table#padm_quote_edit_table td.value {
  text-align: left;
}

table#padm_quote_edit_table td.mark {
  width: 10px;
  font-weight: bold;
  color: <? echo $fg_error ?>;
}
